<?php /* Smarty version Smarty-3.1.12, created on 2016-07-11 16:32:45
         compiled from "D:\phpStudy\WWW\demonew\dm\xycms\task.tpl" */ ?>
<?php /*%%SmartyHeaderCode:7002578359adbc6214-28065478%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0ab2e9fac31958ea2e17d88ce46c1c51d998638b' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\demonew\\dm\\xycms\\task.tpl',
      1 => 1429338016,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7002578359adbc6214-28065478',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'page_charset' => 0,
    'copyright_author' => 0,
    'action' => 0,
    'taskConfig' => 0,
    'config' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_578359adc57703_98718137',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_578359adc57703_98718137')) {function content_578359adc57703_98718137($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->tpl_vars['page_charset']->value;?>
" />
<title>站点设置</title>
<meta name="author" content="<?php echo $_smarty_tpl->tpl_vars['copyright_author']->value;?>
" />
<link type="text/css" rel="stylesheet" href="xycms/css/admin.css" media="screen" />
<link type="text/css" rel="stylesheet" href="xycms/css/other.css" media="screen" />
<script type='text/javascript' src='js/jquery-1.8.3.min.js'></script>
<script type='text/javascript' src='js/command.js'></script>
<script type="text/javascript" src='../data/editor/kindeditor.js'></script>
<script src="js/datepicker/WdatePicker.js"></script>
</head>
<body>
<?php if ($_smarty_tpl->tpl_vars['action']->value==''){?>
<div class="main-wrap">
  <div class="path"><p>当前位置：系统设置</p></div>
  <div class="main-cont">
	<h3 class="title">计划任务</h3>
	<div class="set-area">
	  <form name="myform" method="post" action="xycms_task.php">
	  	<input type="hidden" name="lastUpdate" value="<?php echo $_smarty_tpl->tpl_vars['taskConfig']->value['lastUpdate'];?>
" />
		<table cellpadding='3' cellspacing='3' class='tab'>
			  <tr>
				<td class='hback_1' width="8%">名称</td>
				<td class='hback'><input name="title" class="input-txt input1" type="text" value="<?php echo $_smarty_tpl->tpl_vars['taskConfig']->value['title'];?>
" /></td>
			  </tr>
			  <tr>
				<td class='hback_1'>开始时间</td>
				<td><input name="start_time" onclick="WdatePicker()" class="input-txt input1 Wdate" type="text" value="<?php echo $_smarty_tpl->tpl_vars['taskConfig']->value['start_time'];?>
" /></td>
			  </tr>
			  <tr>
				<td class='hback_1'>结束时间</td>
				<td>
				<input name="end_time" onclick="WdatePicker()" class="input-txt input1 Wdate" type="text" value="<?php echo $_smarty_tpl->tpl_vars['taskConfig']->value['end_time'];?>
" />
				<label class="tip">* 为空表示结束时间不受限制</label>
				</td>
			  </tr>
			  <tr>
				<td class='hback_1'>应用的分类</td>
				<td><?php echo $_smarty_tpl->tpl_vars['taskConfig']->value['cate_select'];?>
</td>
			  </tr>
			  <tr>
				<td class='hback_1'>最短时间间隔</td>
				<td><input name="interval_time" class="input-txt input1" type="text" value="<?php echo $_smarty_tpl->tpl_vars['taskConfig']->value['interval_time'];?>
" />小时</td>
			  </tr>
			  <tr>
				<td class='hback_1'>每次添加个数</td>
				<td><input name="rate_count" class="input-txt input1" type="text" value="<?php echo $_smarty_tpl->tpl_vars['taskConfig']->value['rate_count'];?>
" /></td>
			  </tr>  
			  <tr>
				<td class='hback_1'>状态</td>
				<td><input type="checkbox" name="flag" value="1"<?php echo $_smarty_tpl->tpl_vars['taskConfig']->value['flag'];?>
 /></td>
			  </tr>
			  <tr>
				<td class='hback_none'></td>
				<td class='hback_none'><input type="submit" name="dosubmit" class="button" value="更新保存" /></td>
			  </tr>
		</table>
	 </form>
	</div>    
  </div>
</div>


<?php }elseif($_smarty_tpl->tpl_vars['action']->value=='config'){?>
<div class="main-wrap">
  <div class="path"><p>当前位置：系统设置<span>&gt;&gt;</span>站点设置</p></div>
  <div class="main-cont">
	<h3 class="title">站点设置</h3>
    <form name="myform" method="post" action="xycms_setting.php">
    <input type="hidden" name="action" value="saveconfig" />
	<table cellpadding='5' cellspacing='5' class='tab'> 	 	
	  <tr>
	   <td class='hback_1' width="150">3G手机绑定：</td> 
	   <td class="hback"><input name="tel" id="tel" class="input-txt" type="text" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['tel'];?>
" /><span>请输入11位手机号码！</span></td>
	  </tr>	 	  	  	 	
	  <tr>
	   <td class='hback_1'>留言到手机：</td> 
		<td class='hback_none'>
		留言是否发布到手机：
		<input type="checkbox" name="message_tel" id="m_tle" value="1" <?php if ($_smarty_tpl->tpl_vars['config']->value['message_tel']==1){?>checked="checked"<?php }?> />
		</td>
	  </tr>
	  <tr>
	   <td class='hback_1'>默认缩略图大小：</td> 
	   <td class='hback'>宽：<input type="text" name="thumbwidth" id="thumbwidth" size="5" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['thumbwidth'];?>
" /> 像素（px） ， 高：<input type="text" name="thumbheight" id="thumbheight" size="5" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['thumbheight'];?>
" /> 像素（px）</td>
	  </tr>	  
	  <tr>
	   <td class='hback_1'>水印设置：</td> 
		<td class="hback"><input type="radio" name="watermarkflag" value="1"<?php if ($_smarty_tpl->tpl_vars['config']->value['watermarkflag']==1){?> checked<?php }?> />是，<input type="radio" name="watermarkflag" value="0"<?php if ($_smarty_tpl->tpl_vars['config']->value['watermarkflag']==0){?> checked<?php }?> />否</td>
	  </tr>	  
	  <tr>
	   <td class='hback_1'>水印图片地址：</td> 
		<td class="hback"><input type="text" name="watermarkfile" id="watermarkfile" size="45" value="<?php echo $_smarty_tpl->tpl_vars['config']->value['watermarkfile'];?>
" /> 只支持JPG/GIF/PNG格式，推荐用透明的png图片 </td>
	  </tr>	  	  	   	  	  	  	   	  	   	  	  	  	  
	  <tr>
		<td></td>
		<td class='hback_none'><input type="submit" name="btn_save" class="button" value="更新保存" /></td>
	  </tr>	  
	</table>
	</form>
  </div>
  <div style="clear:both;"></div>
</div>

<?php }else{ ?>
暂无信息
<?php }?>
</body>
</html>
<?php }} ?>